package com.quick.develop.form.convert;

import com.quick.develop.form.entity.GenDynamicFormFieldEntity;
import com.quick.develop.form.vo.GenDynamicFormFieldVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 表单字段
*
* @author Tioo 1906559468@qq.com
* @since 1.0.0 2023-09-24
*/
@Mapper
public interface GenDynamicFormFieldConvert {
    GenDynamicFormFieldConvert INSTANCE = Mappers.getMapper(GenDynamicFormFieldConvert.class);

    GenDynamicFormFieldEntity convert(GenDynamicFormFieldVO vo);

    GenDynamicFormFieldVO convert(GenDynamicFormFieldEntity entity);

    List<GenDynamicFormFieldVO> convertList(List<GenDynamicFormFieldEntity> list);

}